.class public Lcom/nemustech/regina/widgets/ReginaWidgetID;
.super Ljava/lang/Object;
.source "ReginaWidgetID.java"


# static fields
.field public static final APPOINTMENT:Lcom/nemustech/regina/widgets/ReginaWidgetID; = null

.field public static final APP_MANAGER:Lcom/nemustech/regina/widgets/ReginaWidgetID; = null

.field public static final MISSED_NOTI:Lcom/nemustech/regina/widgets/ReginaWidgetID; = null

.field public static final REGINA_WIDGET_APPOINTMENT:I = 0x1

.field public static final REGINA_WIDGET_APP_MANAGER:I = 0x3

.field public static final REGINA_WIDGET_MISSED_NOTI:I = 0x4

.field public static final REGINA_WIDGET_TASKS:I = 0x2

.field public static final REGINA_WIDGET_WEATHER_CLOCK:I

.field public static final TASKS:Lcom/nemustech/regina/widgets/ReginaWidgetID;

.field public static final WEATHER_CLOCK:Lcom/nemustech/regina/widgets/ReginaWidgetID;


# instance fields
.field private final mWidgetID:I


# direct methods
.method static constructor <clinit>()V
    .locals 2

    .prologue
    .line 26
    new-instance v0, Lcom/nemustech/regina/widgets/ReginaWidgetID;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Lcom/nemustech/regina/widgets/ReginaWidgetID;-><init>(I)V

    sput-object v0, Lcom/nemustech/regina/widgets/ReginaWidgetID;->WEATHER_CLOCK:Lcom/nemustech/regina/widgets/ReginaWidgetID;

    .line 27
    new-instance v0, Lcom/nemustech/regina/widgets/ReginaWidgetID;

    const/4 v1, 0x1

    invoke-direct {v0, v1}, Lcom/nemustech/regina/widgets/ReginaWidgetID;-><init>(I)V

    sput-object v0, Lcom/nemustech/regina/widgets/ReginaWidgetID;->APPOINTMENT:Lcom/nemustech/regina/widgets/ReginaWidgetID;

    .line 28
    new-instance v0, Lcom/nemustech/regina/widgets/ReginaWidgetID;

    const/4 v1, 0x2

    invoke-direct {v0, v1}, Lcom/nemustech/regina/widgets/ReginaWidgetID;-><init>(I)V

    sput-object v0, Lcom/nemustech/regina/widgets/ReginaWidgetID;->TASKS:Lcom/nemustech/regina/widgets/ReginaWidgetID;

    .line 29
    new-instance v0, Lcom/nemustech/regina/widgets/ReginaWidgetID;

    const/4 v1, 0x3

    invoke-direct {v0, v1}, Lcom/nemustech/regina/widgets/ReginaWidgetID;-><init>(I)V

    sput-object v0, Lcom/nemustech/regina/widgets/ReginaWidgetID;->APP_MANAGER:Lcom/nemustech/regina/widgets/ReginaWidgetID;

    .line 30
    new-instance v0, Lcom/nemustech/regina/widgets/ReginaWidgetID;

    const/4 v1, 0x4

    invoke-direct {v0, v1}, Lcom/nemustech/regina/widgets/ReginaWidgetID;-><init>(I)V

    sput-object v0, Lcom/nemustech/regina/widgets/ReginaWidgetID;->MISSED_NOTI:Lcom/nemustech/regina/widgets/ReginaWidgetID;

    return-void
.end method

.method public constructor <init>(I)V
    .locals 0
    .parameter "widgetID"

    .prologue
    .line 32
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 33
    iput p1, p0, Lcom/nemustech/regina/widgets/ReginaWidgetID;->mWidgetID:I

    .line 34
    return-void
.end method


# virtual methods
.method public isEqual(Lcom/nemustech/regina/widgets/ReginaWidgetID;)Z
    .locals 2
    .parameter "opponent"

    .prologue
    .line 41
    invoke-virtual {p1}, Lcom/nemustech/regina/widgets/ReginaWidgetID;->toInt()I

    move-result v0

    iget v1, p0, Lcom/nemustech/regina/widgets/ReginaWidgetID;->mWidgetID:I

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public toInt()I
    .locals 1

    .prologue
    .line 37
    iget v0, p0, Lcom/nemustech/regina/widgets/ReginaWidgetID;->mWidgetID:I

    return v0
.end method
